package io.github.liuyuhao412.manager.request;

/**
 * 接收前端用户创建请求数据
 */
public class CreateUserRequest {
	private String username;
	private Integer role;

	// 无参构造
	public CreateUserRequest() {
	}

	// 带参构造
	public CreateUserRequest(String username, Integer role) {
		this.username = username;
		this.role = role;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}
}
